<?php 
Header("Content-type: text/plain; charset=utf-8");
?>
Name:		<?php echo $data["track"]["name"]; ?>

Description:	<?php echo $data["track"]["description"]; ?>

User:		<?php echo $data["track"]["username"]; ?>

Time:		<?php echo $data["track"]["time"]; ?>


Track:
<?php while ( list($id, $pointdata) = each ($data["coordinates"])): ?>
Coordinates: <?php printf("%.5f",$pointdata["lat"]); ?>,<?php printf("%.5f",$pointdata["lon"]); ?>

	Altitude: <?php printf("%.1f",$pointdata["alt"]); ?>

	Speed: <?php printf("%.1f",$pointdata["speed"]); ?>

	Time: <?php print $pointdata["time_received"]; ?>

	
<?php endwhile; ?>

